package mysql

import "gorm.io/gorm"

// 预约表
type Booking struct {
	gorm.Model
	UserId  int    `gorm:"type:int(11);not null;comment:用户id"`
	HouseId int    `gorm:"type:int(11);not null;comment:房源id"`
	Name    string `gorm:"type:varchar(30);not null;comment:姓名"`
	Mobile  string `gorm:"type:char(11);not null;comment:手机号"`
	Address string `gorm:"type:varchar(500);not null;comment:地址"`
	Types   string `gorm:"type:varchar(30);not null;comment:户型"`
	Area    int64  `gorm:"type:int(11);not null;comment:面积"`
	Status  string `gorm:"type:varchar(30);nit null;commit:状态"`
}
